package com.banksoft.cps.dao;

import com.banksoft.cps.bean.SupplierIntoWarehouse;
import com.banksoft.cps.bean.query.SupplierIntoWarehouseQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
@Repository
public interface SupplierIntoWarehouseDao {
    void insert(SupplierIntoWarehouse bean);

    void update(SupplierIntoWarehouse bean);


    SupplierIntoWarehouse findById(String id);

    List<SupplierIntoWarehouse> list(SupplierIntoWarehouseQuery query);

    long count(SupplierIntoWarehouseQuery query);
}
